
(function (window) {

    var Circuit = function (resistance) {
        this.initialize(resistance);
    }
    var p = Circuit.prototype;

    p.resistance = 0;

    /**
    * Initialization method.
    * @method initialize
    */
    p.initialize = function (resistance) {
        this.resistance = resistance;
    }

    p.getResistance = function () {
        return this.resistance;
    }

window.Circuit = Circuit;
} (window));